package org.wlgzs.shop.bean;

import org.springframework.cache.annotation.Cacheable;

@Cacheable
public class ShowDate {
    public int getCarId() {
        return carId;
    }

    public void setCarId(int carId) {
        this.carId = carId;
    }

    int carId;
    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    int number;
    public float getPrice() {
        return price;
    }

    public void setPrice(float price) {
        this.price = price;
    }

    public float price;
    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getPhotoName() {
        return photoName;
    }

    public void setPhotoName(String photoName) {
        this.photoName = photoName;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    int id;
    String photoName;
    String name;
    public ShowDate(){};
 public ShowDate(int id, String photoName, String name) {
    this.id = id;
    this.photoName = photoName;
    this.name = name;
    }
}